/**
 * This file is a part of MediaDrop (http://www.mediadrop.video),
 * Copyright 2009-2014 MediaDrop contributors
 * For the exact contribution history, see the git revision log.
 * The source code contained in this file is licensed under the GPLv3 or
 * (at your option) any later version.
 * See LICENSE.txt in the main project directory, for more information.
 **/

/* Statuses */
.status-list {
	margin: 3px 5px;
}
.status-list li {
	padding-left: 20px;
	margin: 3px 0;
	font-size: 108%;
}
#update-status-form button {
	margin-top: 10px;
	width: 100%;
}
.status-list-complete {
	background: url('../images/icons/tick.png') no-repeat 0 2px;
	color: #9b9b9b;
}
.status-list-inprogress {
	background: url('../images/icons/arrow-green-right.png') no-repeat 0 2px;
	color: #417F00;
}
.status-list-pending {
	color: #9b9b9b;
}
#publish-date {
	width: 120px;
	font: 12px Tahoma, sans-serif;
	color: #417F00;
	border: 0;
}
#status-publish .publish-date,
#status-expiry .expiry-date {
	color: #3372A0;
	text-transform: none;
}
#status-publish:hover .publish-date,
#status-expiry:hover .expiry-date {
	text-decoration: underline;
}
.status-list.media-expiry {
	border-top: 1px solid #B3C4D0;
	margin: 10px 5px 3px;
}
/* need two selectors to overwrite ".status-list li" above */
.status-list .status-list-expiry {
	background: url('../images/icons/expiry.png') no-repeat;
	margin-top: 10px;
}

.status-unreviewed,
.status-unencoded,
.status-draft,
.status-published,
.status-publishing {
	padding-left: 22px;
	background-repeat: no-repeat;
	background-position: 0 50%
}
.status-unreviewed {
	background-image: url('../images/icons/red.png');
}
.status-unencoded {
	background-image: url('../images/icons/yellow.png');
}
.status-publishing,
.status-draft {
	background-image: url('../images/icons/green.png');
}
.status-published {
	background-image: url('../images/icons/blue.png');
}


#recently-published-table tr td.center {
	text-align: right;
	width: 20px;
	padding-right: 8px;
}

#fmgr-close {
	color: #417F00;
}
#fmgr-close:hover {
	text-decoration: underline;
}
#fmgr.no-files table {
	display: none;
}
#fmgr thead tr th {
	border-top: 0;
}
#fmgr th, #fmgr td {
	padding-right: 0px;
}
#fmgr th#thf-size,
#fmgr td[headers='thf-size'] {
	white-space: nowrap;
	text-align: right;
}
#fmgr th#thf-delete,
#fmgr td[headers='thf-delete'] {
	padding-right: 10px;
}
#fmgr table .overTxtLabel,
#fmgr td .textfield {
	padding: 4px 5px;
	text-align: center;
}
#fmgr td .textfield {
	border: 1px solid #fff;
	color: #3c4d5a;
}
#fmgr td .textfield:focus {
	color: #000;
	border-color: #b0bcc5;
}
#fmgr table .overTxtLabel {
	margin-top: -1px;
	margin-left: -2px;
	background: #fff;
}
#fmgr table .overTxtLabel:hover {
	cursor: pointer !important;
}
#fmgr td[headers='thf-duration'] div,
#fmgr td[headers='thf-bitrate'] div,
#fmgr td[headers="thf-dimensions"] div {
	position: relative;
	text-align: center;
}
#fmgr td[headers='thf-duration'] div * { width: 45px }
#fmgr td[headers='thf-bitrate'] div * { width: 34px }
#fmgr td[headers="thf-dimensions"] div * { width: 65px }
#fmgr select[name="file_type"],
#fmgr .file_type-dropdown {
	width: 110px;
}
#fmgr .file_type-dropdown .dropdown-box {
	width: 135px;
}

#fmgr .fmgr-upload-progress {
	width: 105px;
}
#fmgr table .file-delete {
	height: 16px;
	width: 16px;
	display: block;
	text-indent: -5000px;
	border: 0;
	background: url('../images/icons/delete.png') no-repeat;
	opacity: .6;
}
#fmgr tr .file-delete:hover {
	opacity: 1;
	cursor: pointer;
}
#sbox-content #fmgr .box-content {
	padding-top: 0;
	padding-bottom: 0;
}


#fmgr #add-box {
	border-top: 1px solid #b3c4d0;
	padding: 25px 36px 15px 36px;
}
#fmgr.no-files #add-box {
	border-top: 0;
}
#fmgr #url,
#fmgr .url-container .overTxtLabel,
#fmgr #file-label {
	float: left;
	width: 580px;
	color: #8b8b8b;
	height: 21px;
	line-height: 24px;
	font-size: 14px;
}
#fmgr #file-label {
	width: 540px;
}
#fmgr #url {
	color: #3c4d5a;
}
#fmgr .url-container .overTxtLabel {
	display: block;
	padding: 5px;
}
#fmgr .url-container .overTxtWrapper {
	position: relative;
}
#fmgr .url-container .overTxtLabel {
	text-align: center;
}
#fmgr .url-or-file {
	background: url('../images/layout/hr.png') repeat-x center center;
	text-align: center;
	margin-top: 5px;
	padding: 10px 0 10px 0;
	clear: both;
}
#fmgr .url-or-file strong {
	padding: 0 10px;
	font-weight: bold;
	background: #fff;
	font-size: 14px;
	clear: both;
}
#fmgr #file-label {
	padding: 6px 6px 5px 0;

}
#fmgr .btn-upload-file {
	float: right;
}
#fmgr .upload-progress {
	margin: 15px 5px;
}
#fmgr .file-error {
	font-size: 12px;
	color: red;
}
#fmgr #add_url {
	width: 110px;
}

/* Necessary for the uploader work! */
body#media-edit.body-overlayed {
	overflow: visible !important;
}
body#media-edit .swiff-uploader-box object,
body#media-edit .swiff-uploader-box embed {
	visibility: visible !important;
}

.file-list li {
	padding: 10px;
	border-top: 1px solid #b3c4d0;
}
.file-list li.video,
tr.video td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/video.png') no-repeat 8px 50%;
}
.file-list li.audio,
tr.audio td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/audio.png') no-repeat 8px 50%;
}
.file-list li.audio_desc,
tr.audio_desc td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/audio-desc.png') no-repeat 8px 50%;
}
.file-list li.captions,
tr.captions td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/captions.png') no-repeat 8px 50%;
}
.file-list li.uploading,
.file-list li.queued,
.file-list li.saving,
tr.uploading td[headers='thf-name'],
tr.queued td[headers='thf-name'],
tr.saving td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/spinner.gif') no-repeat 8px 50%;
}
.file-list li.error,
tr.error td[headers='thf-name'] {
	padding-left: 30px;
	background: url('../images/icons/error.png') no-repeat 8px 50%;
}
tr.error td[headers='thf-type'] {
	color: red;
}

#file-upload.upload-status .upload-progress {
	border-top: 1px solid #b3c4d0;
}
#file-upload.upload-status .upload-progress img {
	margin-top: 10px;
	margin-bottom: 8px;
}

#media-form #categories_container {
	float: left;
	width: 50%;
}
#media-form .category-box {
	border: 1px solid #b0bcc5;
	-moz-border-radius: 9px;
	padding: 6px 6px 5px 5px;
}
#media-form #tags_container {
	clear: none;
	float: left;
	width: 50%;
}
#media-form #tags {
	height: 150px;
}
#media-form #podcast_warning {
	float: left;
	background: url('../images/icons/error.png') no-repeat left;
	padding-left: 22px;
	margin: 0 0 0 10px;
	font-size: 12px;
	line-height: 1.3;
}
#media-form #podcast_container {
	background: #deeffb url('../images/layout/table-head.png') repeat-x top;
	margin: -10px -10px 5px -10px;
	padding: 5px 10px;
	width: 638px;
}
#media-form #podcast-dropdown {
	width: 120px;
}
#add-media-btn a{
	margin-bottom:32px;
}
#add-media-btn a span {
	height: 0;
	display: block;
	overflow: hidden;
}
#add-media-btn a:link, #add-media-btn a:visited { background-position: 0 0 }
#add-media-btn a:hover { background-position: 0 -34px }
#add-media-btn a:active { background-position: 0 -68px }

.btn-dash {
	background:url("../images/buttons/btn-dark-bg.png") repeat-x;
	border-bottom:none;
	text-align:center;
}
.btn-dash a {
	color: #F1E9E6;
	font-size:18px;
	display:block;
	width:100%;
}
.btn-dash a:hover {
	color: #CCC;
	text-decoration:none;
}

.hidden {
	display: none;
}
